package com.techsoul.module.baoli.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.techsoul.common.core.pojo.entity.DataEntity;
import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 企业白条主对象 fin_credit_bill
 * 
 * @author liuen
 * @date 2022-03-28
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("fin_credit_bill")
public class FinCreditBill extends DataEntity {

    /**
     * 单号
     */
    private String creditBillNo;
    private Integer paymentTimes;
    /**
     * 状态
     */
    private String status;

    /**
     * 开单金额
     */
    private Double amount;

    /**
     * 货币
     */
    private String currency;

    private Double interestAmt;
    private Integer useageDays;
    /**
     * 买家公司编码
     */
    private String buyerNo;
    private String contractUploadYn;
    private String invoiceUploadYn;
    /**
     * 买家公司
     */
    private String buyerName;

    /**
     * 卖家公司编号
     */
    private String salerNo;

    /**
     * 卖家公司
     */
    private String salerName;

    /**
     * 开单企业（买家还是卖家）
     */
    private String issuedBy;

    /**
     * 收单企业编码
     */
    private String receiverNo;

    /**
     * 收单企业
     */
    private String receiverName;

    /**
     * 审核人
     */
    private String approvedBy;

    /**
     * 审核日期
     */
    private Date approvedTime;

    /**
     * 到期日
     */
    private Date validatedTo;

    /**
     * 开单日
     */
    private Date openDate;

    /**
     * 授权银行
     */
    private String authBank;

    /**
     * 授权财务公司
     */
    private String authCompany;

    /**
     * 兑付方式
     */
    private String paymentType;

    /**
     * 期限（天）
     */
    private Integer validateLength;
    private String receiverSite;
    private String site;

    private String basicNo;

    private String invoiceNo;
    private String contractNo;
    private Double qty;

    private String unit;

    private String productName;
    private String baoliReceiverName;
    private String baoliPayableSite;
    private String  baoliReceiverSite;
    private Date finaceDate;
    private Double interestRate;
    private String productNo;
}
